<div ng-controller="ReturnformrCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/returnform/list">{{'returnform'| translate}}</a></li>
        <li class="active">
            {{"List"|translate}}
            <a href="#/returnform/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right"> 
          <input type="text"  placeholder="{{'orig_tid'|translate}}"  ng-model="tid">
          <input placeholder="{{'start time'|translate}}"  datetimepicker  ng-model="start_created">
          <input placeholder="{{'end time'|translate}}"   datetimepicker min-date="{{start_created}}"  ng-model="end_created">
          <button class="sui-btn btn-primary" type="submit" ng-click="getreturnformList()">{{'search'|translate}}</button>
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'orig_tid'|translate}}</th>
                <th>{{'shipping_type'|translate}}</th>
                <th>{{'logistics_no'|translate}}</th>
                <th>{{'total_fee'|translate}}</th>
                <th>{{'buyer_nick'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in returnformslist">
                <td>{{list.tid}}</td>
                <td>{{list.shipping_type}}</td>
                <td>{{list.logistics_no}}</td>
                <td>{{list.total_fee}}</td>
                <td>{{list.buyer_nick}}</td>
                <td>
                    <a href="#/returnform/add?id={{list.return_form_id}}" class="sui-btn btn-success">{{'edit'|translate}}</a>
                    <a href="#/returnform/info?id={{list.return_form_id}}" class="sui-btn btn-primary">{{'info'|translate}}</a>
                    <button class="sui-btn btn-danger" ng-click="statusUpdata(list.return_form_id,1)">审核</button>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="returnformTotal" get-data="getreturnformList(pageNo)"></pager>
    <!-- 分页end -->
</div>
